﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace MyAlbum.Model
{
    public class Tag
    {
        public string Id { get; set; }
        public string Name { get; set; }
        public int Count { get; set; }

        public override int GetHashCode()
        {
            return (Id == null ? 0 : Id.GetHashCode()) + (Name != null ? Name.GetHashCode() : 0) + Count.GetHashCode();
        }
    }
}
